package main

import (
	"fmt"
	"leetcode/58/solution"
)

// 58题
// 最后一个单词的长度
// https://leetcode-cn.com/problems/length-of-last-word/

func main() {
	var (
		case1 = "Hello World"
		case2 = "a "
	)

	// 方案1
	fmt.Println(solution.V1(case1))
	fmt.Println(solution.V1(case2))
}
